package com.linln.admin.cmedic.validator;

import lombok.Data;

import java.io.Serializable;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author wh
 * @date 2024/03/26
 */
@Data
public class CmedicineInfoValid implements Serializable {
    @NotNull(message = "主键ID不能为空")
    private Integer id;
    @NotNull(message = "来源ID不能为空")
    private Integer originId;
    @NotEmpty(message = "标题不能为空")
    private String title;
}